package com.seocoo.worker.order.req;

import com.seocoo.worker.base.http.BaseRsp;
import com.seocoo.worker.base.http.DWBaseRequest;

import java.util.List;

public class ReqAddWorkers extends DWBaseRequest<BaseRsp> {

    private List<ReqAddWorker> workList;

    public ReqAddWorkers() {
        super("/api/install/addWorkers");
    }

    public List<ReqAddWorker> getWorkList() {
        return workList;
    }

    public void setWorkList(List<ReqAddWorker> workList) {
        this.workList = workList;
    }

    @Override
    public String toJson(Object object) {
        return super.toJson(workList);
    }
}
